﻿namespace 命令模式
{
    //显示命令
    public class DisplayCommand: DocumentCommand
    {
        public DisplayCommand(Document document) : base(document)
        {
        }

        public override void Execute()
        {
            Document.Display();
        }
    }
}
